package com.cutie.entry.service;

import java.sql.SQLException;
import java.util.List;

import com.cutie.entry.dao.VideoDictionaryDao;
import com.cutie.entry.model.VideoDictionary;

public class VideoDictionaryService {

	VideoDictionaryDao videoDictionaryDao;
	
	public VideoDictionaryService(){
		videoDictionaryDao = new VideoDictionaryDao();
	}
	
	public List<VideoDictionary> findVideoByEntryId(Integer entryId) throws SQLException{
		return videoDictionaryDao.getVideos(entryId);
	}
}
